import axios from '@/libs/request'
import qs from 'qs'

// 内容管理 -> 文章管理
const getList = (options) => {
  return axios.get('/public/list?' + qs.stringify(options))
}

const deletePostById = (ids) => {
  return axios.post('/content/delete', { ids })
}
export {
  getList,
  deletePostById
}
